/* Layout Styles */
.app {
  display: flex;
  height: 100vh;
  background: #0a0a0a;
}

.main-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 80px; /* 为侧边栏留出空间 */
  height: 100vh;
  overflow: hidden;
}

.main-content-wrapper {
  flex: 1;
  overflow-y: auto;
  background: #0a0a0a;
  height: calc(100vh - 60px); /* 减去顶部导航栏高度 */
}

/* 确保子页面内容正确显示 */
.main-content-wrapper > * {
  min-height: 100%;
}

/* Mobile Layout Adjustments */
@media (max-width: 768px) {
  .main-layout {
    margin-left: 0 !important;
    height: 100vh;
  }
  
  .main-content-wrapper {
    height: calc(100vh - 60px); /* 移动端也减去顶部导航栏高度 */
  }
}

@media (max-width: 480px) {
  .main-content-wrapper {
    height: calc(100vh - 56px); /* 小屏幕时调整高度 */
  }
}
